[nbt=!{Dimension:"minecraft:overworld"},scores={time=0}]
say @s is NOT in the Overworld

execute as @a[nbt=!{Dimension:"minecraft:overworld"}] run say @s is in the Overworld



execute if score global timer matches ..0 run execute in aether:the_aether run effect give @a minecraft:wither 1 
execute if score global timer matches ..0 run execute in aether:the_aether run effect give @a minecraft:speed 10 1
execute if score global timer matches ..0 run execute in aether:the_aether run effect give @a minecraft:jump_boost 10 1

execute if score global timer matches ..0 run execute in blue_skies:everbright run effect give @a minecraft:wither 1 
execute if score global timer matches ..0 run execute in blue_skies:everbright run effect give @a minecraft:speed 10 1
execute if score global timer matches ..0 run execute in blue_skies:everbright run effect give @a minecraft:jump_boost 10 1

execute if score global timer matches ..0 run execute in blue_skies:everdawn run effect give @a minecraft:wither 1 
execute if score global timer matches ..0 run execute in blue_skies:everdawn run effect give @a minecraft:speed 10 1
execute if score global timer matches ..0 run execute in blue_skies:everdawn run effect give @a minecraft:jump_boost 10 1

execute if score global timer matches ..0 run execute in minecraft:the_end run effect give @a minecraft:wither 1 
execute if score global timer matches ..0 run execute in minecraft:the_end run effect give @a minecraft:speed 10 1
execute if score global timer matches ..0 run execute in minecraft:the_end run effect give @a minecraft:jump_boost 10 1

execute if score global timer matches ..0 run execute in minecraft:the_nether run effect give @a minecraft:wither 1 
execute if score global timer matches ..0 run execute in minecraft:the_nether run effect give @a minecraft:speed 10 1
execute if score global timer matches ..0 run execute in minecraft:the_nether run effect give @a minecraft:jump_boost 10 1

execute if score global timer matches ..0 run execute in twilightforest:twilight_forest run effect give @a minecraft:wither 1 
execute if score global timer matches ..0 run execute in twilightforest:twilight_forest run effect give @a minecraft:speed 10 1
execute if score global timer matches ..0 run execute in twilightforest:twilight_forest run effect give @a minecraft:jump_boost 10 1

execute if score global timer matches ..0 run execute in undergarden:undergarden run effect give @a minecraft:wither 1 
execute if score global timer matches ..0 run execute in undergarden:undergarden run effect give @a minecraft:speed 10 1
execute if score global timer matches ..0 run execute in undergarden:undergarden run effect give @a minecraft:jump_boost 10 1